package com.excilys.webservice.soap;

import java.util.List;

import javax.jws.WebParam;
import javax.jws.WebService;

import com.excilys.dto.AccountDTO;
import com.excilys.dto.UserDTO;


/**
 * Interface for JAX-WS Accounts WebService. 
 * Reads an user and his accounts list.
 * 
 * @author excilys dev : YA
 * 
 */
@WebService(name = "IAccountWebService")
public interface IAccountWebService {

	UserDTO getUserByLogin(@WebParam(name = "login") String login);

	List<AccountDTO> getUserListAccountsByLogin(@WebParam(name = "login") String login);

}
